package reflecct;

/**
 * @classname:User
 * @description:
 * @author: Mr.Z
 * @date: 2020/12/23 19:32
 * @version: 0.1
 * @since:1.8
 */
public class User {
    private Integer id;
    private String name;
    private String pass;
    private String phone;

    public User() {
        System.out.println("无构造");
    }

    public User(Integer id, String name, String pass, String phone) {
        this.id = id;
        this.name = name;
        this.pass = pass;
        this.phone = phone;
    }
    private String ww(String a,Integer b){
        return "ok";
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", pass='" + pass + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}
